@layout("/common/_container.html"){
<div class="ibox float-e-margins">
    <div class="ibox-content">
        <div class="form-horizontal" id="articleInfoForm">
            <input type="hidden" id="id" value="">
            <div class="row">
                <div class="col-sm-12 b-r">
                            <#input id="citySel" name="文章类型" underline="true" readonly="readonly" hidden="type" leftCol="2" rightCol="10"
								clickFun="ArticleInfoDlg.showTypeSelectTree(); return false;"
								style="background-color: #ffffff !important;"/>
                            
              	</div>
              	 <div class="col-sm-12 b-r">
              	 	<#input id="subject" name="文章标题" underline="true" leftCol="2" rightCol="10"/>
              	 </div>
                <div class="col-sm-12 b-r">
                    <#input id="creator" name="发布人" underline="true" leftCol="2" rightCol="10"/>
                </div>
                <div class="col-sm-12 b-r">
                	<#input id="count" name="浏览量" underline="true" leftCol="2" rightCol="10"/>
                </div>
                <div class="col-sm-12 b-r">
                	<div class="form-group has-feedback">
                        <label class="col-sm-1 control-label" style="width: 60px;">内容</label>
                        <div class="col-sm-10" style="width: 85%;height: 350px;">
                            <div id="editor" class="editorHeight">
                            </div>
                        </div>
                	</div>
               </div>
               <div class="col-sm-12 b-r">
               		<div class="form-group has-feedback">
               			<label class="col-sm-1 control-label" style="width: 60px;">简介</label>
	               		<div class="col-sm-10">
	               			<textarea id="profile" rows="5" cols="81" style="width: 102%;"></textarea>
	   					</div>
	   				</div>
               </div>
               <div class="col-sm-12 b-r" style="margin-top:10px;">
               		<#avatar id="avatar" name="封面" underline="true" leftCol="1"/>
               </div>
            </div>
			<!-- 这是部门选择的下拉框 -->
			<div id="menuContent" class="menuContent"
				style="display: none; position: absolute; z-index: 200;">
				<ul id="treeDemo" class="ztree tree-box" style="width: 576px !important;"></ul>
			</div>
            <div class="row btn-group-m-t">
                <div class="col-sm-10">
                    <#button btnCss="info" name="保存草稿" id="ensure" icon="fa-check" clickFun="ArticleInfoDlg.addSubmit()"/>
                    <#button btnCss="danger" name="发布" id="cancel" icon="fa-eraser" clickFun="ArticleInfoDlg.sendArticle()"/>
                </div>
            </div>
        </div>

    </div>
</div>
<script type="text/javascript" src="${ctxPath}/static/js/plugins/wangEditor/wangEditor.js"></script>
<script src="${ctxPath}/static/modular/system/article/article_info.js"></script>
@}
